<template>
	<div id="nav">
  <el-menu
    :default-active="$route.path"
    class="el-menu-demo"
    mode="horizontal"
    background-color="#545c64"
    text-color="#fff"
    active-text-color="#ffd04b"
	:router="true"
	style="margin-bottom: 5px;"
  >
    <el-menu-item index="/generateSize">
		<span>生成尺码表</span>
	</el-menu-item>
    <el-menu-item index="/addWatermark">添加水印</el-menu-item>
  </el-menu>
  <router-view></router-view>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import VueRouter from "vue-router"
</script>
